
package com.zsrt.day20170419.ch02;

/**
 * 公司类
 * @author jmj
 * @date 2017年4月19日
 * @time 下午5:09:47
 */
public class Company {
	
	/**
	 * 公司名字
	 */
	private String companyName;
	
	/**
	 * 公司程序员数组
	 */
	private Programmer[] programmers;

	/**
	 * @return the programmers
	 */
	public Programmer[] getProgrammers() {
		return programmers;
	}

	/**
	 * @param programmers the programmers to set
	 */
	public void setProgrammers(Programmer[] programmers) {
		this.programmers = programmers;
	}

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	
	/**
	 * @param companyName
	 * @param programmers
	 */
	public Company(String companyName, Programmer[] programmers) {
		super();
		this.companyName = companyName;
		this.programmers = programmers;
	}
	
	

}
